package com.joysuch.wwyt.risk.service;

import com.joysuch.wwyt.risk.bean.RiskExportDataBean;
import com.joysuch.wwyt.risk.entity.RiskEvaluationAnalyzeWay;
import org.apache.poi.xssf.streaming.SXSSFSheet;
import org.apache.poi.xssf.streaming.SXSSFWorkbook;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * @Author ZhaoQiuWei
 * @Date 2022/1/6 15:37
 */
public interface RiskStorePointEvalExcelExportService {
    SXSSFWorkbook exportDistrictEvaluationExcel(Integer isTemplate, Integer shared);

    SXSSFWorkbook exportDistrictEvaluationExcel(Integer isTemplate, Integer shared,String districtIds);

    SXSSFWorkbook getOldItemData(SXSSFWorkbook workbook, SXSSFSheet sheet, RiskEvaluationAnalyzeWay analyze,
                                 List<RiskExportDataBean> analyzeBeanList,
                                 Integer shared);

    /**
     * 下载错误提示
     * @param errorMessage
     * @param response
     */
    void exportEvalErrorMessages(List<String> errorMessage, HttpServletResponse response) ;
}
